<template>
    <div class="login">
        <div class="login-header">
            <div class="container">
                <a href="/">
                    <img src="/imgs/login-logo.png">
                </a>
            </div>
        </div>
        <div class="login-body">
            <div class="container">
                <div class="login-form">
                    <h3>
                        <span class="checked">账号登录</span>
                        <span class="sep-line">|</span>
                        <span>扫码登录</span>
                    </h3>
                    <div class="input">
                        <input type="text" placeholder="请输入账号">
                    </div>
                    <div class="input">
                        <input type="password" placeholder="请输入密码">
                    </div>
                    <div class="btn-box">
                        <a href="javascript:;" class="btn">登录</a>
                    </div>
                    <div class="tips">
                        <div class="sms">手机短信登录</div>
                        <div class="reg">
                            <span>立即注册</span>
                            <span class="reg-line">|</span>
                            <span>忘记密码?</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
       <login-footer></login-footer>
    </div>
</template>

<script>
    import LoginFooter from "../components/LoginFooter";
    export default {
        name: "login",
        components: {LoginFooter}
    }
</script>

<style scoped lang="scss">
    @import "../assets/scss/base.css";

    .login{
        .login-header{
            height: 113px;
            img{
                height: 100%;
                width: auto;
            }
        }
        .login-body{
            background:url('/imgs/login-bg.jpg') no-repeat center;
            .container{
                height: 576px;
                position: relative;
                .login-form{
                    box-sizing: border-box;
                    width: 410px;
                    height: 510px;
                    padding-left: 31px;
                    padding-right: 31px;
                    position: absolute;
                    right: 0;
                    margin-top: 29px;
                    background-color: #FFFFFF;
                    h3{
                        height: 23px;
                        line-height: 23px;
                        font-size: 24px;
                        text-align: center;
                        margin: 40px auto 49px;
                        .checked{
                            color: #FF6600;
                        }
                        .sep-line{
                            margin: 0px 32px;
                        }
                    }
                    .input{
                        display: inline-block;
                        width: 348px;
                        height: 50px;
                        border: 1px solid #e5e5e5;
                        margin-bottom: 20px;
                        input{
                            width: 100%;
                            height: 100%;
                            border: none;
                            box-sizing: border-box;
                            padding-left: 18px;
                            font-size: 14px;
                            outline: none;
                            /*padding: 18px;*/
                        }
                        &:hover{
                            border: 1px solid #FF6600;
                            transition: all 0.3s;
                            box-shadow:0px 2px 12px 0px rgba(0, 0, 0, 0.1);
                        }
                    }
                    .btn{
                        width: 100%;
                        height: 50px;
                        line-height: 50px;
                        font-size: 16px;
                    }
                    .tips{
                        margin-top: 14px;
                        display: flex;
                        justify-content: space-between;
                        font-size: 14px;
                        cursor: pointer;
                        .sms{
                            color: #FF6600;
                        }
                        .reg{
                            color: #999999;
                            .reg-line{
                                margin: 0 7px;
                            }
                        }
                    }
                }
            }

        }

    }

</style>